package test.classloader.sub;

public class LoaderSample3
{
	public static final int age = 30;
    //静态代码块，类被装在的时候自动运行。
    static {
        System.out.println("LoaderSample3 loaded");
        System.out.println(LoaderSample3.class.getClassLoader());//输出类装载器的类型
	}

	public static void main(String[] args)
	{
		System.out.println("this is main method!");
	}
}
